package com.gc.server.service;

import com.gc.server.entity.RouteEntity;
import com.gc.server.entity.SchoolEntity;
import com.gc.server.entity.ShopEntity;
import com.gc.server.vo.RouteVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 路线Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Fri Oct 16 18:16:41 CST 2020
 */
public interface RouteService extends BaseService<RouteEntity> {

    /************自动生成**************/
    List<RouteVo> findVo(RouteVo vo);

        RouteVo getVo(Long id);

     int updateVo(RouteVo vo);

       int saveVo(RouteVo vo);

    void downLoad(HttpServletResponse response, List<RouteVo> list);

    /***********BACK***********/




    /***********API***********/

   void add(Long userId,RouteEntity routeEntity);


   List<RouteEntity> findByUserId(Long userId);


    List<SchoolEntity> findSchool(Long userId);

    List<ShopEntity> findShop(Long userId);


}
